// 楼栋
export type BuildItem = {
	ID: number
	Name: string
}

export type Current = Partial<{
	building: number
	floor: number
	room: number
}>;

export interface BuildFloorItem {
	ID: number
	Name: string
}

export interface BedItem extends BuildFloorItem {
	MemberID: number
	Avatar: string
	LevelName: number
	MemberName: number
}

export interface RoomItem extends BuildFloorItem {
	Beds: BedItem[] | null
}

export interface FloorDetail extends BuildFloorItem {
	Rooms: RoomItem[] | null
}

// 楼栋详情
export interface BuildDetail {
	Floors?: FloorDetail[] | null
}

